/**
 * Copyright © 2019 dream horse Info. Tech Ltd. All rights reserved.
 *
 * @Package: com.gitee.mybatis.fl.convert
 * @author: flying-cattle
 * @date: 2019年4月9日 下午8:15:25
 */
package com.zm.mybatis.gen.generator;

import com.zm.mybatis.gen.entity.ResultJson;
import com.zm.mybatis.gen.entity.ServerBasisInfo;
import com.zm.mybatis.gen.util.FreemarkerUtil;
import lombok.Setter;

public class PageVueGenerator extends ParentGenerator {

    @Setter
    private FreemarkerUtil freemarkerUtil;

    //①创建实体类
    public ResultJson createTemplate(String url, ServerBasisInfo bi) {
//        String packageUrl = "src.main.java." + bi.getEntityUrl();
//        String fileUrl = url + pageToUrl(packageUrl) + bi.getEntityName() + ".java";
//        return freemarkerUtil.createFile(bi, "entity.ftl", fileUrl);
        return null;
    }

}
